package com.weitu.occupationalHealth.phyData.service;

import com.weitu.occupationalHealth.phyData.entity.PhyData;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PhyDataService {

    PhyData selectById(String id);

    int deleteById(String id);

    int updateByIdSelective(Map record);

    int insertSelective(Map record);

    List<PhyData> selectAllPhy(Map map);

    int selectAllPhyCount(Map map);

    int insertConclusions(List<Map> maps);
    int deleteConclusions(String id);
    int deleteByIdAll(String id);

    int insertConclusionsState(List<Map> maps);

    boolean insertYcData( Map<String, Object> map);

    int deleteConclusionsStateById(String id);

    int insertHarmIds(List<Map> maps);
    int deleteHarmIds(String id);
    List<Map<String,Object>> selectAnalysis(Map<String,Object> map);

    boolean deleteYcData(String id);
}